//
//  DownloadListCell.h
//  DownloadManagerDemo
//
//  Created by ejiang on 2021/12/13.
//

#import <MGSwipeTableCell/MGSwipeTableCell.h>

@class DownloadListCell;
@protocol DownloadListCellAction <NSObject>

- (void)downloadListCellDidClickDel:(DownloadListCell *_Nonnull)cell;

- (void)downloadListCellDidClickRetry:(DownloadListCell *_Nonnull)cell;

@end

NS_ASSUME_NONNULL_BEGIN

@interface DownloadListCell : MGSwipeTableCell


@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UIProgressView *progressView;
@property (weak, nonatomic) IBOutlet UILabel *statusLabel;
@property (weak, nonatomic) IBOutlet UILabel *sizeLabel;
@property (weak, nonatomic) IBOutlet UILabel *speedLabel;

@property (nonatomic, weak) id <DownloadListCellAction> actionDelegate;

@end

NS_ASSUME_NONNULL_END
